package cn.wsalix.user.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import cn.anlaser.entity.CommonEntity;

@Entity
@Table(name = "RECOMMEND")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@Data
@EqualsAndHashCode(exclude = {  }, callSuper = false)
@ToString(exclude = { })
public class Recommend extends CommonEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3378291745602081638L;
	private String code;
	private Long toRecommendId;// refereeId;
	private Long recommendId;
/*	@Temporal(TemporalType.TIMESTAMP)
	private Date orderTime;*/

}
